package com.css.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


/**
 * 加油站员工表
 * @TableName fwh_employee
 */
@Data
@TableName(value ="fwh_yzgl_employee")
public class FwhEmployee {

    /**
     * openid
     */
    @TableField(value = "open_id")
    private String openId;

    /**
     * 电话号码
     */
    @TableField(value = "phone_number")
    private String phoneNumber;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 身份证号码
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)

    private String id;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 状态
     */
    @TableField(value = "state")
    private String state;

    /**
     * 加油站ID（所属加油站）
     */
    @TableField(value = "gas_station_id")
    private String gasStationId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "creator")
    private String creator;
}
